package net.wofly.sale.commodity.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.wofly.sale.commodity.domain.CommodityDetailImg;

import java.util.List;

/**
 * @author lign
 * @version 1.0
 * @created 04-三月-2018 20:02:54
 */
@Data
@ApiModel(description = "商品信息实体")
public class CommodityDto {
	
	@ApiModelProperty(value = "品牌ID", required = true)
	private String brandID;
	
	@ApiModelProperty(value = "商品类型ID", required = true)
	private String commodityTypeID;
	
	@ApiModelProperty(value = "商品渠道List", required = true)
	private List<CommodityChannelDto> commodityChannelDtos;
	
	@ApiModelProperty(value = "商品终端List", required = true)
	private List<CommodityTerminalDto> commodityTerminalDtos;
	
//	@ApiModelProperty(value = "商品编码", required = true)
//	private String commodityCode;
	
	private String commodityID;
	
	@ApiModelProperty(value = "商品名称", required = true)
	private String commodityName;
	
	@ApiModelProperty(value = "商品条码 ISB", required = true)
	private String isbn;
	
	@ApiModelProperty(value = "操作人员ID", required = true)
	private String optUserID;
	
	@ApiModelProperty(value = "商品中图", required = true)
	private String pic;
	
	@ApiModelProperty(value = "官方指导价（价格以分为单位）", required = true)
	private Double price;
	
	@ApiModelProperty(value = "备注", required = true)
	private String remark;
	
	@ApiModelProperty(value = "餐饮中菜的口味", required = true)
	private String taste;
	
	@ApiModelProperty(value = "单位", required = true)
	private String unit;
	
	@ApiModelProperty(value = "容量", required = true)
	private String capacity;
	
	@ApiModelProperty(value = "规格", required = true)
	private String specification;
	
	@ApiModelProperty(value = "商品详情图", required = true)
	private List<CommodityDetailImg> commodityImgs;

	public CommodityDto(){

	}

}